﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QH_MSS_WPF_Core.Extensions
{
    public static class BoolArrayHelper
    {
        public static bool[] BoolArrReverse(this bool[] arr)
        {
            bool[] newArr=new bool[arr.Length];
            for (int i = 0; i < arr.Length; i++)
            {
                newArr[i]=!arr[i];
            }

            return newArr;
        }
    }
}
